/*

Define a struct Date  to keep track of date. Provide  functions that read Dates from input, write Dates to output, and initialize a Date with a date.
Write a program to test the struct and functions you defined.*/

#include "Date.h"
int main(int argc, char const *argv[])
{
    Date mydate;
    mydate.init(2020,3,2);
    mydate.print();
    mydate.read();
    mydate.print();
    Date mydate2;
    mydate2.init(mydate);
    mydate2.print();
    return 0;
}

